<header class="am-topbar am-topbar-fixed-top">
    <div class="am-container">
        <img src="/public/images/logo.png"/>
        <h1 class="am-topbar-brand">
            <a href="https://www.houannj.com">溪边居</a>
        </h1>

        <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-secondary am-show-sm-only"
                data-am-collapse="{target: '#collapse-head'}"><span class="am-sr-only">导航切换</span> <span
                class="am-icon-bars"></span></button>

        <div class="am-collapse am-topbar-collapse" id="collapse-head">
            <ul class="am-nav am-nav-pills am-topbar-nav">
                {volist name="menu_list" id="menu"}
                {if condition="$menuNow eq $menu['url']"}
                <li style="background: #eeeeee" href="{$menu.url}"><a>{$menu.name}</a></li>
                {else/}
                <li><a href="{$menu.url}">{$menu.name}</a></li>
                {/if}
                {/volist}
                <li><a href="http://www.dianping.com/shop/19282154" target="_blank">大众点评</a></li>
            </ul>
            <!--<div class="am-topbar-right">
                <button class="am-btn am-btn-secondary am-topbar-btn am-btn-sm"><span class="am-icon-pencil"></span> 注册</button>
            </div>-->
            <div class="am-topbar-right" id="user_info">
                <a href="/login.html">
                    <button class="am-btn am-btn-primary am-topbar-btn am-btn-sm"  style="display: none">
                        <span class="am-icon-user"></span> 登录
                    </button>
                    <div class="am-topbar-brand" style="display: none">
                        <span class="am-icon-user"></span>
                    </div>
                </a>
            </div>
            <form class="am-topbar-form am-topbar-left am-form-inline am-topbar-right" role="search" action="/search.html">
                <div class="am-form-group">
                    <input type="text" class="am-form-field am-input-sm" name="keywords" placeholder="搜索" value="{$keywords}">
                </div>
                <button type="submit" class="am-btn am-btn-default am-btn-sm">搜索</button>
            </form>
        </div>
    </div>
</header>